# charWidth attribute

The charWidth attribute specifies the width of the characters in a text object if the object has been stretched after it was created.

The text graphic object element contains this attribute and the charHeight attribute only if the text object has been resized after it was created.

If charHeight and charWidth appear in the exported XML file, the fontSize attribute does not appear. If the charWidth attribute is imported, the fontSize attribute will not be imported even if it appears in the imported XML file. If the charHeight attribute appears, the fontSize attribute will be imported, but the charHeight attribute will override the fontSize value.

FactoryTalk View equivalent: N/A

## See also

fontSize attribute

charHeight attribute

charWidth attribute syntax